package com.xl.dto;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
/**
 * Created with 徐立.
 *
 * @author 徐立
 * @date 2021-12-12
 * @time 23:20
 * To change this template use File | Settings | File Templates.
 */
@ConfigurationProperties(prefix = "com.xl")
@Data
@PropertySource(encoding = "utf-8", value = "classpath:application.properties")
public class ConfigurationPropertiesTest {
    private String name;
    private int age;
}
